package com.blb.zycommunity.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.zycommunity.entity.ZyRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * <p>
 * 房间  Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@Mapper
public interface ZyRoomMapper extends BaseMapper<ZyRoom> {

    List<ZyRoom> selectRoomByBuildingId(String unitId);

    IPage<ZyRoom> selectByAll(IPage<ZyRoom> page,String unitId, String buildingId, String roomStatus,String communityId);

}
